#pragma once

#include "Object.h"

namespace BaseType
{

class DateHelp
{
public:

    static void DaysToYMD(int iDate, uint16_t& iYear, uint8_t& iMonth, uint8_t& iDay);
    static int YMDToDays(int iYear, int iMonth, int iDay);
    static int MonthEndDay(int iYear, int iMonth);
    static bool IsLeapYear(int iYear);
};

}
